package com.sgb.member.entity;

import java.io.Serializable;
import java.util.List;

public class MemberQuotePriceBean implements Serializable {

    /*{
        "companyNo": "202003277697334",//当前企业no
            "goodsQuotePriceList": [
        {
            "businessNo": "1317037341512306688",//业务主键 skiid
                "companyNo": "202003277697334",//当前企业no
                "quotedCompanyNo": "1394222669100093440",//报价企业no
                "price": "12345323",//价格
                "originalPrice": 12,//原始价格
                "differencePrice": 12221870,//差价
                "brandId": "28",//品牌id
                "firstCategoryNo": "6",//一级类目
                "secondCategoryNo": "8",//二级类目
                "thirdCategoryNo": "12",//三级类目
                "itemId": "160284114598492",//商品 itemId
                "title": "1016测试/天山/普通硅酸盐水泥",//商品标题
                "unit": "千克",//商品单位
                "lastPrice": 123453//上次报价
        }
  ],
        "quotedCompanyNo": "1394222669100093440",//报价企业no
            "rentQuotePriceList": [
        {
            "businessNo":"202104301403078",//业务主键no
                "companyNo":"202003277697334",//当前企业no
                "quotedCompanyNo":"1394222669100093440",//报价企业no
                "price":"123111111",//报价价格
                "originalPrice":1,//原价
                "differencePrice":0,//差价
                "businessType":"7",//业务类型
                "categoryName":"军用机械-火箭",//类目名称
                "firstCategoryNo":"202010287913079",//一级类目
                "secondCategoryNo":"202010281452289",//二级类目
                "title":"1111",//标题
                "unit":"元/天"//单位
        }],
        "teamQuotePriceList": [
        {
            "businessNo":"1374256135334400000",//业务主键no
                "companyNo":"202003277697334",//当前企业no
                "quotedCompanyNo":"1394222669100093440",//报价企业no
                "price":"11111",//报价
                "originalPrice":11111,//原价
                "differencePrice":0,//差价
                "teamName":"章撒房建工程施工队(撒旦撒旦)",//团队名称
                "typeWork":"1362687897295261696",//工种类型
                "unit":"kg"//单位
        } ],
        "quotedType": 1,//1 商品报价 2 租赁报价 3 团队报价
    }*/

    public String companyNo;
    public String quotedCompanyNo;
    public String quotedType;
    public List<GoodQuoteBean> goodsQuotePriceList;
    public List<RentQuoteBean> rentQuotePriceList;
    public List<TeamQuoteBean> teamQuotePriceList;

    public static class GoodQuoteBean implements Serializable {

        public String businessNo;
        public String companyNo;
        public String quotedCompanyNo;
        public String price;
        public double originalPrice;
        public double differencePrice;
        public String brandId;
        public String firstCategoryNo;
        public String secondCategoryNo;
        public String thirdCategoryNo;
        public String itemId;
        public String title;
        public String unit;
        public double lastPrice;
    }

    public static class RentQuoteBean {

        public String companyNo;
        public String quotedCompanyNo;
        public String businessNo;
        public String price;
        public double originalPrice;
        public double differencePrice;
        public int businessType;
        public String categoryName;
        public String firstCategoryNo;
        public String secondCategoryNo;
        public String title;
        public String unit;
    }

    public static class TeamQuoteBean implements Serializable {

        public String businessNo;
        public String companyNo;
        public String quotedCompanyNo;
        public String price;
        public double originalPrice;
        public double differencePrice;
        public String teamName;
        public String typeWork;
        public String unit;
    }


}
